package com.ruoyi.rural.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出入登记对象 rural_turnover
 * 
 * @author ruoyi
 * @date 2022-02-06
 */
public class RuralTurnover extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 房屋id */
    @Excel(name = "房屋id")
    private String housesId;

    /** 地点 */
    @Excel(name = "地点")
    private String site;

    /** 进出类型（0：进入1：出去） */
    @Excel(name = "进出类型", readConverterExp = "0=：进入1：出去")
    private String turnoverType;

    /** 交通工具 */
    @Excel(name = "交通工具")
    private String transportation;

    /** 交通工具号码 */
    @Excel(name = "交通工具号码")
    private String transportationNo;

    /** 粤康码图 */
    @Excel(name = "粤康码图")
    private String healthCodeImage;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setHousesId(String housesId) 
    {
        this.housesId = housesId;
    }

    public String getHousesId() 
    {
        return housesId;
    }
    public void setSite(String site) 
    {
        this.site = site;
    }

    public String getSite() 
    {
        return site;
    }
    public void setTurnoverType(String turnoverType) 
    {
        this.turnoverType = turnoverType;
    }

    public String getTurnoverType() 
    {
        return turnoverType;
    }
    public void setTransportation(String transportation) 
    {
        this.transportation = transportation;
    }

    public String getTransportation() 
    {
        return transportation;
    }
    public void setTransportationNo(String transportationNo)
    {
        this.transportationNo = transportationNo;
    }

    public String getTransportationNo()
    {
        return transportationNo;
    }
    public void setHealthCodeImage(String healthCodeImage) 
    {
        this.healthCodeImage = healthCodeImage;
    }

    public String getHealthCodeImage() 
    {
        return healthCodeImage;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("housesId", getHousesId())
            .append("site", getSite())
            .append("turnoverType", getTurnoverType())
            .append("transportation", getTransportation())
            .append("transportationNo", getTransportationNo())
            .append("healthCodeImage", getHealthCodeImage())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
